<script>

import ServerUpload from "../edit/ServerUpload";
import TextView from "./TextView"

/**
 * 下拉框的view组件
 * 
 */
export default {
    extends: ServerUpload,
    name: "PopoServerUploadView",
    data(){
        return {
            nullValue: "[未设置]",
            textCss: { "text-viewer-box":true, "null-value": false},
        };
    },
    created(){
        // console.log( "select view complate");
        this.opt.drag = false;
        this.opt.tips = null;
        this.hiddenUploadButton = true;
        this.rootClass[ "popoform-serverupload-view"] = true;
        // this.$set( this.opt, "nullLabel", "未设置");
        this.opt.nullLabel = "[未设置]";
    },
    methods: {
        beforeRemove(){
            return false;
        },
    }
};
</script>

<style>
.popoform-serverupload-view .el-form-item__content {
    overflow: hidden;
    border-bottom: dashed 1px #dcdfe6;
}
.popoform-serverupload-view .el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{
    display: none;
}
.popoform-serverupload-view .el-upload-list--picture-card{
    display: block;
    height: 40px;
}
.popoform-serverupload-view .el-upload-list--picture-card .el-upload-list__item{
    width: 38px;
    height: 38px;
    margin: 0 8px 0px 0;
}
.popoform-serverupload-view .el-upload-list--picture-card .el-upload-list__item-status-label{ zoom: 0.7; display: none;}
.popoform-serverupload-view .el-upload-list__item:hover .el-icon-close{ display: none; }
.popoform-serverupload-view .el-upload-list__item:hover .el-icon-close-tip{ display: none; }
.popoform-serverupload-view .el-upload-list__item:hover .el-upload-list__item-status-label{ display: none; }
</style>

